#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "Key.h"
#include "LED.h"



int main(void)
{
	Key_Init();
	LED_Init();
	uint8_t key_State = 0;
	while(1)
	{	
		key_State = Key1_In();
		if (key_State == 1)
		{
			LED1_Turn();
		}
		key_State = Key2_In();
		if (key_State == 2)
		{
			LED2_Turn();
		}
	}
}
